import java.util.Scanner;

public class 比较三个人的身高 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int weight1 = sc.nextInt();
        int weight2 = sc.nextInt();
        int weight3 = sc.nextInt();
        int temp = weight1 > weight2 ? weight1 : weight2;
        int most = temp > weight3 ? temp : weight3;
        System.out.println(most);
    }
}
